
<form name="form" method="post" action="{[$root]}{[$deleteLink]}{[$p1]}{[$p3]}">
<table>
	<tr align="center">
		<th width="40"><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></th>
		<th width="40">序号</th>
		<th>流水号</th>
		<th>业务员</th>
		<th>客户</th>
		<th>编号</th>
		
		<th width="40"></th>
		<th>分类</th>
		<th>供应商</th>		
		<th>工程师</th>
		<th>录入员</th>
		<th>状态</th>
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td><input type="checkbox" class="check" name="c_{[$item.id]}" value="{[$item.id]}"></td>
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)"
			onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}&small=on', '查看信息', '780x450')">{[$item.id]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp('{[$item.emp]}')">{[$item.emp_t]}</a></td>
		<td><a href="javascript:void(0)"
			onclick="Common.dialog_view_('contact.php?do=CustomerMy.view&id={[$item.customer]}&small=on', '客户信息', '650x420')">{[$item.customer_t]}</a></td>		
		<td>{[$item.code]}</td>
		<td><a href="javascript:void(0)"
			onclick="MoldMy.popup(event, '{[$p2]}&p={[$p]}', {[$item.id]}, {[$item.status]}, {[$item.outer]})">[管理]</a></td>

		<td>{[$item.category_t]}</td>				
		<td><a href="javascript:void(0)" onclick="Common.supplier({[$item.supplier]})">{[$item.supplier_t]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp('{[$item.engineer]}')">{[$item.engineer_t]}</a></td>
		
		<td><a href="javascript:void(0)" onclick="emp('{[$item.oper]}')">{[$item.oper_t]}</a></td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td><input type="button" name="delete" value="删除" onclick="expunge(this.form)"></td>
		<td colspan="12"></td>
	</tr>
</table>
</form>

{[include file="footer.tpl"]}

<script type="text/javascript"
	src="js/mold/mold/list.js?r={[$smarty.now]}"></script>
